<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name),html:{class: "form-signin"}) do |f| %>
  <h2 class="text-center">用户登录</h2>
    <%= f.input :email, required: false, autofocus: true, placeholder: "请输入Email", label: false, input_html: {class: "form_control"} %>
    <%= f.input :password, required: false, placeholder: "请输入密码", label: false, input_html: {class: "form_control"}  %>
    <%= f.button :submit, "登录系统", class: "btn btn-primary btn-block"%>
<% end %>

<%= render "devise/shared/links" %>
